#include <stdio.h>


int main()
{
    //int a1[10];//一位数组
    int a2[2][10];//二位数组
    int index = 1;
    int i, j;
    for (i = 0; i < 2; i++)
    {
        for (j = 0; j < 10; j++)
        {
            a2[i][j] = index++;
                                                            
        }
                                        
    }//遍历一个二位数组，把数组中每个成员赋值

    for (i = 0; i < 2; i++)
    {
        for (j = 0; j < 10; j++)
        {
            printf("%d\n", a2[i][j]);
                                                                
        }
                                            
    }
    
    printf("%lu, %lu, %lu\n", sizeof(a2), sizeof(a2[0]), sizeof(a2[0][0]));

    printf("%p, %p, %p\n", a2, a2[0], &a2[0][0]);
    return 0;
}
